﻿using Lcygcc.Application.WCF.Service;
using Lcygcc.Domain.Repository.Entity;
using Lcygcc.Infrastructure.Logs;
using Lcygcc.Infrastructure.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lcygcc.Test
{
    class Program
    {
        static void Main(string[] args)
        {

            WCFServiceHost boot = WCFServiceHost.Instance();
            boot.StartServices();

            Logger.Instance().Register();

            Logger.Debug("Debug");
            Logger.Debug("Debug", new Exception("testexception"));
            Logger.Info("Info");
            Logger.Fatal("Fatal");
            Logger.Error("Error");
            Logger.Warn("Warn", new Exception("testexception"));

            //SyncDoorNum m = new SyncDoorNum();
            //m.GetNum = 20;
            //m.GetTime = DateTime.Now;
            ////long id = m.Insert(m);

            //IRepository<SysRole> _sysRoleRepository = null;
            //_sysRoleRepository.Insert(new SysRole());

        }
    }
}
